import Vue from 'vue'
import App from './App.vue'
import VueRouter from "vue-router"
Vue.use(VueRouter)
import Mint from "mint-ui"
Vue.use(Mint)
import axios from "axios"
Vue.prototype.$http = axios

import "../node_modules/mint-ui/lib/style.css"
import "../src/assets/css/cssreset.css"
import "../src/assets/font/iconfont"
import "../src/assets/css/public.css"

import router from "./assets/js/router.js"
import store from "./assets/js/store.js"
new Vue({
  el: '#app',
  render: h => h(App),
  router,
  store
})
router.afterEach((to,from,next) => {
  window.scrollTo(0,0);
});